package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通知公告实体对象 sys_notices
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysNotices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知公告ID */
    private Long noticeId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 发布人 */
    @Excel(name = "发布人")
    private String publisher;

    /** 发布单位 */
    @Excel(name = "发布单位")
    private String publishUnit;

    /** 发布时间 */
    @Excel(name = "发布时间")
    private String publishTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 通知类型 */
    @Excel(name = "通知类型")
    private String type;

    public void setNoticeId(Long noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() 
    {
        return noticeId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPublisher(String publisher) 
    {
        this.publisher = publisher;
    }

    public String getPublisher() 
    {
        return publisher;
    }
    public void setPublishUnit(String publishUnit) 
    {
        this.publishUnit = publishUnit;
    }

    public String getPublishUnit() 
    {
        return publishUnit;
    }
    public void setPublishTime(String publishTime) 
    {
        this.publishTime = publishTime;
    }

    public String getPublishTime() 
    {
        return publishTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticeId", getNoticeId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("publisher", getPublisher())
            .append("publishUnit", getPublishUnit())
            .append("publishTime", getPublishTime())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("type", getType())
            .toString();
    }
}
